<template>
  <div class="header-wrap">
    <div class="main-container header">
      <div class="left">
        今天是
        {{ today }}
        欢迎访问郑州牟中发展投资有限公司网站！
      </div>
      <div class="right">
        <el-button size="mini">登录</el-button>
      </div>
    </div>
  </div>
</template>

<script>
import { parseTime } from '@/utils/ruoyi.js'
console.log(`🚀 - parseTime:`, parseTime)
export default {
  data() {
    return {
      parseTime,
    }
  },
  computed: {
    today() {
      return parseTime(new Date(), '{y}年{m}月{d}日 {h}时 星期{a}')
    },
  },
}
</script>

<style lang="scss">
.header-wrap {
  height: 40px;
  background: #f6f6f6;
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
  }
}
</style>
